package cz.zcu.fav.rat.rest.beans;

import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

import org.springframework.http.HttpStatus;

@XmlRootElement(name = "error")
@XmlType(name = "")
public class ErrorMapping
{
	private HttpStatus status;
	private int code;
	private String message;
	private String developerMessage;
	private String moreInfoUrl;
	
	public HttpStatus getStatus()
	{
		return status;
	}

	public void setStatus(HttpStatus status)
	{
		this.status = status;
	}

	public int getCode()
	{
		return code;
	}

	public void setCode(int code)
	{
		this.code = code;
	}

	public String getMessage()
	{
		return message;
	}

	public void setMessage(String message)
	{
		this.message = message;
	}

	public String getDeveloperMessage()
	{
		return developerMessage;
	}

	public void setDeveloperMessage(String developerMessage)
	{
		this.developerMessage = developerMessage;
	}

	public String getMoreInfoUrl()
	{
		return moreInfoUrl;
	}

	public void setMoreInfoUrl(String moreInfoUrl)
	{
		this.moreInfoUrl = moreInfoUrl;
	}

}
